package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 装箱管理对象 t_box_info
 * 
 * @author ruoyi
 * @date 2024-12-20
 */
public class TBoxInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 箱子编号 */
    @Excel(name = "箱号")
    private String boxCode;

    /** 箱子里面设备的数量 */
    @Excel(name = "设备数量")
    private int deviceCount;

    /** 箱子容量 */
    @Excel(name = "箱子容量")
    private Long boxCapacity;

    /** 箱子状态（0未装满 1已装满） */
    @Excel(name = "是否装满", readConverterExp = "0=未装满,1=已装满")
    private String boxState;



    @Excel(name = "装箱人")
    private String createName;

    /** 装箱时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "装箱时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date boxTime;

    /** 是否封箱 是否封箱（0否 1是） */
    @Excel(name = "是否封箱", readConverterExp = "0=未封箱,1=已封箱")
    private String extend1;

    /** 创建人id */
    private Long createId;

    /** 部门id */
    private Long deptId;

    /** 制造商 */
    private String extend2;

    /** 委托商 */
    private String extend3;


    /** 备用字段 */
    private String extend4;

    /** 备用字段 */
    private String extend5;

    /** 备用字段 */
    private String extend6;

    /** 出库状态（0未出库 1已出库） */
    @Excel(name = "出库状态", readConverterExp = "0=未出库,1=已出库")
    private String ckState;

    /** 出库时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出库时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ckTime;

    /** 出库-客户-地址 */
    @Excel(name = "客户地址")
    private String customerAddress;
    /** 出库-客户-名称 */
    @Excel(name = "名称")
    private String customerName;
    /** 出库-客户-联系电话 */
    @Excel(name = "联系电话")
    private String customerPhone;
    /** 出库-客户-其他信息 */
    @Excel(name = "其他信息")
    private String customerInfo;
    /** 出库-客户-备注 */
    @Excel(name = "备注")
    private String customerRemark;

    public String getCustomerAddress() {
        return customerAddress;
    }

    public void setCustomerAddress(String customerAddress) {
        this.customerAddress = customerAddress;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getCustomerPhone() {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone) {
        this.customerPhone = customerPhone;
    }

    public String getCustomerInfo() {
        return customerInfo;
    }

    public void setCustomerInfo(String customerInfo) {
        this.customerInfo = customerInfo;
    }

    public String getCustomerRemark() {
        return customerRemark;
    }

    public void setCustomerRemark(String customerRemark) {
        this.customerRemark = customerRemark;
    }

    public void setDeviceCount(int deviceCount) {
        this.deviceCount = deviceCount;
    }

    public int getDeviceCount() {
        return deviceCount;
    }

    public void setBoxCode(String boxCode)
    {
        this.boxCode = boxCode;
    }

    public String getBoxCode() 
    {
        return boxCode;
    }
    public void setBoxTime(Date boxTime) 
    {
        this.boxTime = boxTime;
    }

    public Date getBoxTime() 
    {
        return boxTime;
    }
    public void setBoxCapacity(Long boxCapacity) 
    {
        this.boxCapacity = boxCapacity;
    }

    public Long getBoxCapacity() 
    {
        return boxCapacity;
    }
    public void setBoxState(String boxState) 
    {
        this.boxState = boxState;
    }

    public String getBoxState() 
    {
        return boxState;
    }
    public void setCkState(String ckState) 
    {
        this.ckState = ckState;
    }

    public String getCkState() 
    {
        return ckState;
    }
    public void setCkTime(Date ckTime) 
    {
        this.ckTime = ckTime;
    }

    public Date getCkTime() 
    {
        return ckTime;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setExtend1(String extend1) 
    {
        this.extend1 = extend1;
    }

    public String getExtend1() 
    {
        return extend1;
    }
    public void setExtend2(String extend2) 
    {
        this.extend2 = extend2;
    }

    public String getExtend2() 
    {
        return extend2;
    }
    public void setExtend3(String extend3) 
    {
        this.extend3 = extend3;
    }

    public String getExtend3() 
    {
        return extend3;
    }
    public void setExtend4(String extend4) 
    {
        this.extend4 = extend4;
    }

    public String getExtend4() 
    {
        return extend4;
    }
    public void setExtend5(String extend5) 
    {
        this.extend5 = extend5;
    }

    public String getExtend5() 
    {
        return extend5;
    }
    public void setExtend6(String extend6) 
    {
        this.extend6 = extend6;
    }

    public String getExtend6() 
    {
        return extend6;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("boxCode", getBoxCode())
            .append("boxTime", getBoxTime())
            .append("boxCapacity", getBoxCapacity())
            .append("boxState", getBoxState())
            .append("ckState", getCkState())
            .append("ckTime", getCkTime())
            .append("createId", getCreateId())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("deptId", getDeptId())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("extend1", getExtend1())
            .append("extend2", getExtend2())
            .append("extend3", getExtend3())
            .append("extend4", getExtend4())
            .append("extend5", getExtend5())
            .append("extend6", getExtend6())
            .toString();
    }
}
